<div id="<%= @trait -%><%= item.id %>"><%= item.content -%>&nbsp;<%= item.error -%>&nbsp;<%= item.comment -%>&nbsp;<%= connotea_uri(h(item.connotea_uri)) unless item.connotea_uri.blank? -%>&nbsp;
<% if user? %> 
<%= link_to_remote("Edit",
                    {:update => "#{@trait}#{item.id}",
                    :url => { :action => :update_item, :id => item.id, :plant => @plant, :trait => "#{@trait}"}},
                    { :class => "action" }) -%>&nbsp;
<%= link_to_remote("Delete",
                    {:update => "#{@trait}", 
                    :url => {:action => :destroy_item, :id => item.id, :trait => "#{@trait.camelize}"}},
                    { :class => "action" }) -%>
<% end %>
</div>